<template>
  <div>
    <pre>{{ jsonData }}</pre>
  </div>
</template>

<script>
import axios from 'axios';

export default {
  data() {
    return {
      jsonData: null
    };
  },
  async mounted() {
    const response = await axios.get('http://localhost:8080/static/comment.json');
    this.jsonData = response.data;
  }
};
</script>

<style>
/* 无样式 */
</style>